package database.dao;

import entity.BusinessOrder;
import entity.Commodity;
import entity.OrderRecord;
import entity.UserOrder;

import java.util.Collection;
import java.util.List;

public interface OrderRecordDao {
    void addOrderRecord(OrderRecord orderRecord);
    List<UserOrder> selectOrderRecord(String customer_id);
    List<BusinessOrder> business_selectOrderRecord(String business_id);
    void updateOrderStatus(String order_id,String newStatus);
}
